<div class="panel panel-default mt20">
    <div class="panel-body">
        <div class="col-sm-12">
            <div class="row ">
                <div class="col-sm-2">
                    <input type="text" class="form-control" ng-model="searchform.title"  placeholder="标题">
                </div>
                <div class="col-sm-2 pull-right">
                    <button class="btn btn-block btn-info" ng-click="getlist()">立即搜索</button>
                </div>
            </div>
        </div>
    </div>
               
        </div>
    </div>
  </div>
  <!-- searchArea -->
  
  <div class="panel panel-default mt20">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="col-md-2 text-center">标题</th>
                    <th class="col-md-1 text-center">人均消费</th>
                    <th class="col-md-2 text-center">标签</th>
                    <th class="col-md-1 text-center">出游天数</th>
                    <th class="col-md-1 text-center">人物</th>
                    <th class="col-md-1 text-center">状态</th>
                    <th class="col-md-2 text-center">排序</th>
                    <th class="col-md-2 text-center">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="text-center">{{obj.title}}</td>
                    <td class="text-center">{{obj.money / 100 | currency : '¥'}}</td>
                    <td class="text-center">{{obj.label}}</td>
                    <td class="text-center">{{obj.day}}</td>
                    <td class="text-center">
                        <p ng-if="obj.personal_relationship == 0">一个人</p>
                        <p ng-if="obj.personal_relationship == 1">情侣/夫妻</p>
                        <p ng-if="obj.personal_relationship == 2">亲子</p>
                        <p ng-if="obj.personal_relationship == 3">家庭出游</p>
                        <p ng-if="obj.personal_relationship == 4">和朋友</p>
                        <p ng-if="obj.personal_relationship == 5">其他</p>
                    </td>
                    <td class="text-center">
                        <p ng-if="obj.state == 0">待审核</p>
                        <p ng-if="obj.state == 1">已审核</p>
                        <p ng-if="obj.state == 2">已驳回</p>
                    </td>
                    <td class="text-center"> 
                        <div class="col-sm-6">
                            <input type="text" class="form-control" ng-model="obj.asort">
                        </div>
                        <a ng-click="saveasort(obj.id, obj.asort)" class="btn btn-success btn-xs">保存</a>
                    </td>
                    <td class="text-center">
                        <a ng-click="detail(obj.id, obj.nickname)" class="btn btn-info btn-xs">详情</a>
                    </td>
                </tr>
            </tbody>
        </table>
  
  
        <div class="text-right">
  
                <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="getlist()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
  
        </div>
  
  
    </div>
  </div>